package top.forgirl.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.forgirl.result.Result;

@RestController
@RequestMapping("/test")
public class HelloWorldController {

    @GetMapping("/hello")
    public Result<String> sayHello() {
        return new Result<>("hello world");
    }

}
